package org.example.dish_pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 菜品可选口味表
 * </p>
 *
 * @author mp
 * @since 2025-08-04
 */
@Getter
@Setter
@TableName("dish_taste")
public class DishTaste implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 口味ID（主键）
     */
    @TableId(value = "taste_id", type = IdType.AUTO)
    private Integer tasteId;

    /**
     * 关联菜品ID（外键）
     */
    private Integer dishId;

    /**
     * 口味名称（如：微辣、不辣）
     */
    private String tasteName;


    private String remark;


    private Integer status;

    @TableField(exist = false)
    private String dname;


}
